//
//  SettingsController.h
//  PapIPhone
//
//  Created by Rene Dohan on 11/08/11.
//  Copyright 2011 rensoft. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PapControler.h"
#import "LoginListener.h"


@interface SettingsController : PapController <LoginListener> {
    UITextField *username;
    UITextField *password;
    UITextField *url;
    UITextField *currentTextField;
    UITabBarController *tabBarController;
}

@property(retain) IBOutlet UITextField *username;
@property(retain) IBOutlet UITextField *password;
@property(retain) IBOutlet UITextField *url;


- (IBAction)saveAndConnect:(id)sender;
- (IBAction)textFieldBeginEditing:(UITextField *)sender;
- (IBAction)textFieldEndEditing:(UITextField *)sender;
- (IBAction)textFieldReturn:(id)sender;
- (IBAction)backgroundTouched:(id)sender;

@end
